package com.bill.gaty.mfidelity.beans;

import java.io.Serializable;
import java.util.Date;

public class Compatibilite implements Serializable{
	 
/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
@Override
public String toString() {
	return "Compatibilite [searchCode=" + searchCode + ", id=" + id + ", lui="
			+ lui + ", elle=" + elle + ", date=" + date + ", result=" + result
			+ "]";
}
public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
private int searchCode;
public int getSearchCode() {
	return searchCode;
}
public boolean isOk(){return searchCode==200;}
public void setSearchCode(int searchCode) {
	this.searchCode = searchCode;
}
private long id;
private String lui;
private String elle;
private Date date;
private String result;
public Compatibilite() {
	super();
	this.date=new Date();
	// TODO Auto-generated constructor stub
}
public Compatibilite(String lui, String elle, String result) {
	super();
	this.lui = lui;
	this.elle = elle;
	this.result = result;
	this.date=new Date();
}
public String getLui() {
	return lui;
}
public void setLui(String lui) {
	this.lui = lui;
}
public String getElle() {
	return elle;
}
public void setElle(String elle) {
	this.elle = elle;
}
public Date getDate() {
	return date;
}
public void setDate(Date date) {
	this.date = date;
}
public String getResult() {
	return result;
}
public void setResult(String result) {
	this.result = result;
}
}
